<!doctype html>
<html class="no-js" lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>管理员设备维修系统</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link href="/client/css/style.css" rel='stylesheet' type='text/css' media="all">
    <!-- favicon
		============================================ -->
    <link rel="shortcut icon" type="image/x-icon" href="/admin/img/logo/icon.png">
    <!-- Google Fonts
		============================================ -->
    <link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,700,900" rel="stylesheet">
    <!-- Bootstrap CSS
		============================================ -->
    <link rel="stylesheet" href="/admin/css/bootstrap.min.css">
    <!-- Bootstrap CSS
		============================================ -->
    <link rel="stylesheet" href="/admin/css/font-awesome.min.css">
    <!-- nalika Icon CSS
        ============================================ -->
    <link rel="stylesheet" href="/admin/css/nalika-icon.css">
    <!-- owl.carousel CSS
		============================================ -->
    <link rel="stylesheet" href="/admin/css/owl.carousel.css">
    <link rel="stylesheet" href="/admin/css/owl.theme.css">
    <link rel="stylesheet" href="/admin/css/owl.transitions.css">
    <!-- animate CSS
		============================================ -->
    <link rel="stylesheet" href="/admin/css/animate.css">
    <!-- normalize CSS
		============================================ -->
    <link rel="stylesheet" href="/admin/css/normalize.css">
    <!-- meanmenu icon CSS
		============================================ -->
    <link rel="stylesheet" href="/admin/css/meanmenu.min.css">
    <!-- main CSS
		============================================ -->
    <link rel="stylesheet" href="/admin/css/main.css">
    <!-- morrisjs CSS
		============================================ -->
    <link rel="stylesheet" href="/admin/css/morrisjs/morris.css">
    <!-- mCustomScrollbar CSS
		============================================ -->
    <link rel="stylesheet" href="/admin/css/scrollbar/jquery.mCustomScrollbar.min.css">
    <!-- metisMenu CSS
		============================================ -->
    <link rel="stylesheet" href="/admin/css/metisMenu/metisMenu.min.css">
    <link rel="stylesheet" href="/admin/css/metisMenu/metisMenu-vertical.css">
    <!-- calendar CSS
		============================================ -->
    <link rel="stylesheet" href="/admin/css/calendar/fullcalendar.min.css">
    <link rel="stylesheet" href="/admin/css/calendar/fullcalendar.print.min.css">
    <!-- style CSS
		============================================ -->
    <link rel="stylesheet" href="/admin/css/style.css">
    <!-- responsive CSS
		============================================ -->
    <link rel="stylesheet" href="/admin/css/responsive.css">
    <!-- modernizr JS
		============================================ -->
    <script src="/admin/js/vendor/modernizr-2.8.3.min.js"></script>
</head>

<body>


<div class="left-sidebar-pro">
    <nav id="sidebar" class="">
        <div class="sidebar-header">
            <!--                <a href="index.html"><img class="main-logo" src="admin/img/logo/logo.png" alt="" /></a>-->
            <h3>设备维修系统</h3>
            <strong><img src="admin/img/logo/icon.png" alt="" /></strong>
        </div>
        <div class="nalika-profile">
            <div class="profile-dtl">
                <a href="#"><img src="admin/img/logo/manager.png" alt="" /></a>
                <h2>公司任命 <span class="min-dtn">管理员</span></h2>
            </div>
            <div class="profile-social-dtl">

            </div>
        </div>
        <div class="left-custom-menu-adp-wrap comment-scrollbar">
            <nav class="sidebar-nav left-sidebar-menu-pro">
                <ul class="metismenu" id="menu1">
                    <li class="active">
                        <a class="has-arrow" href="index-2.html">
                            <i class="icon nalika-forms icon-wrap"></i>
                            <span class="mini-click-non">维修管理</span>
                        </a>
                        <ul class="submenu-angle" aria-expanded="true">

                            <li><a title="charts" th:href="@{/showStatistics(AId=${AId})}"><span class="mini-sub-pro">维修信息统计</span></a></li>
                            <li><a title="Lists" th:href="@{/toCheckTasks(AId=${AId},pageNum=1)}"><span class="mini-sub-pro">维修信息汇总</span></a></li>



                        </ul>
                    </li>

                    <li>
                        <a class="has-arrow" href="mailbox.html" aria-expanded="false"><i class="icon nalika-new-file icon-wrap"></i> <span class="mini-click-non">人员管理</span></a>
                        <ul class="submenu-angle" aria-expanded="false">
                            <li><a title="clients" th:href="@{/toCheckClients(AId=${AId},pageNum=1)}"><span class="mini-sub-pro">职员汇总</span></a></li>
                            <li><a title="workers" th:href="@{/toCheckWorkers(AId=${AId},pageNum=1)}">维修人员汇总</span></a></li>

                        </ul>
                    </li>

                    <li>
                        <a class="has-arrow" aria-expanded="false"><i class="icon nalika-home icon-wrap"></i> <span class="mini-click-non">库存管理</span></a>
                        <ul class="submenu-angle" aria-expanded="false">
                            <li><a title="storage" th:href="@{/showWarehouse(AId=${AId})}"><span class="mini-sub-pro">库存查看</span></a></li>
                            <li><a title="check" th:href="@{/toCheckMaterial(AId=${AId},pageNum=1)}"><span class="mini-sub-pro">设备申请审核</span></a></li>

                        </ul>
                    </li>

                    <li>
                        <a th:href="@{/log(AId=${AId},pageNum=1,startTime='2021-07-14T00:00',endTime='2021-07-14T23:59')}" aria-expanded="false"><img src="admin/img/log.png" style="width: 20px;margin-right: 10px;"><span class="mini-click-non">日志</span></a>
                    </li>




                </ul>
            </nav>
        </div>
    </nav>
</div>
<!-- Start Welcome area -->
<div class="all-content-wrapper">
    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                <div class="logo-pro">
                    <a href="index-2.html"><img class="main-logo" src="/admin/img/logo/logo.png" alt="" /></a>
                </div>
            </div>
        </div>
    </div>
    <div class="header-advance-area">
        <div class="header-top-area">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                        <div class="header-top-wraper">
                            <div class="row">
                                <div class="col-lg-1 col-md-0 col-sm-1 col-xs-12">
                                    <div class="menu-switcher-pro">
                                        <button type="button" id="sidebarCollapse" class="btn bar-button-pro header-drl-controller-btn btn-info navbar-btn">
                                            <i class="icon nalika-menu-task"></i>
                                        </button>
                                    </div>
                                </div>
                                <div class="col-lg-6 col-md-7 col-sm-6 col-xs-12">
                                    <div class="header-top-menu tabl-d-n">
                                        <div class="breadcome-heading">
                                            <form role="search" class="">
                                                <input type="text" placeholder="Search..." class="form-control" id="searchEmployee" onblur="searchAEmployee(this)">
                                                <a href="#" data-toggle="modal" data-target="#exampleModalLive2"><i class="fa fa-search"></i></a>
                                            </form>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-5 col-md-5 col-sm-12 col-xs-12">
                                    <div class="header-right-info">
                                        <ul class="nav navbar-nav mai-top-nav header-right-menu">


                                            <li class="nav-item">
                                                <a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle">
                                                    <i class="icon nalika-user nalika-user-rounded header-riht-inf" aria-hidden="true"></i>
                                                    <span class="admin-name">管理员</span>
                                                    <i class="icon nalika-down-arrow nalika-angle-dw nalika-icon"></i>
                                                </a>
                                                <ul role="menu" class="dropdown-header-top author-log dropdown-menu animated zoomIn">
                                                    <li><a th:href="@{/lock(AId=${AId})}"><span class="icon nalika-diamond author-log-ic icon nalika-unlocked author-log-ic"></span> 锁屏</a>
                                                    </li>
                                                    <li><a th:href="@{/priority(AId=${AId})}"><span class="icon nalika-settings author-log-ic"></span> 我的权限</a>
                                                    </li>
                                                    <li><a href="#" data-toggle="modal" data-target="#exampleModalLiveLogout"><span class="icon nalika-diamond author-log-ic" ></span> 退出登录</a>
                                                    </li>
                                                </ul>
                                            </li>

                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- Mobile Menu end -->
        <div class="breadcome-area">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                        <div class="breadcome-list">
                            <div class="row">
                                <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
                                    <div class="breadcomb-wp">
                                        <div class="breadcomb-icon">
                                            <!--                                            <i class="fa fa-line-chart"></i>-->
                                            <img src="/admin/img/logo/repaireman.png " width="50" height="50">
                                        </div>
                                        <div class="breadcomb-ctn">
                                            <h1 style="color: white">维修员信息汇总</h1>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="product-status mg-b-30">
        <div class="container-fluid">
            <div class="row">
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                    <div class="product-status-wrap">
                        <h4>维修员信息表</h4>
                        <div class="add-product">
                            <a href="#" data-toggle="modal" data-target="#exampleModalLive1">添加维修员信息</a>
                        </div>
                        <table>
                            <tr>

                                <th>维修员ID</th>
                                <th>维修员姓名</th>
                                <th>维修员邮箱</th>
                                <th>维修员电话</th>
                                <th>维修员状态</th>
                                <th>维修员评分</th>
                                <th>操作</th>

                            </tr>
                            <tr th:each="employee:${employeeList}">

                                <td th:text="${employee.getEId()}">10086</td>
                                <td th:text="${employee.getEName()}">阿珍</td>

                                <td th:text="${employee.getEEmail()}">12138@qq.com</td>
                                <td th:text="${employee.getEPhone()}">12312312312312</td>
                                <td th:if ="${employee.getEStatus()} eq true">
                                    <button class="pd-setting" >空闲</button>
                                </td>
                                <td th:if ="${employee.getEStatus()} eq false">
                                    <button class="ds-setting" >忙碌</button>
                                </td>

                                <td th:text="${employee.getECredit()}">50</td>


                                <td>
                                    <button data-toggle="tooltip" title="编辑" class="pd-setting-ed"><i class="fa fa-pencil-square-o" aria-hidden="true"></i></button>

                                    <button data-toggle="tooltip" title="删除" class="pd-setting-ed"><i class="fa fa-trash-o" aria-hidden="true"></i></button>
                                </td>
                            </tr>
<!--                            <tr>-->

<!--                                <td th:text="${employee.getID()}">10086</td>-->
<!--                                <td th:text="${employee.getname()}">阿珍</td>-->

<!--                                <td th:text="${employee.getemail()}">12138@qq.com</td>-->
<!--                                <td th:text="${employee.getphone()}">12312312312312</td>-->
<!--                                <td th:text="${employee.getStatus()}">-->
<!--                                    <button class="ds-setting">忙碌</button>-->
<!--                                </td>-->

<!--                                <td th:text="${employee.getScore()}">50</td>-->


<!--                                <td>-->
<!--                                    <button data-toggle="tooltip" title="编辑" class="pd-setting-ed"><i class="fa fa-pencil-square-o" aria-hidden="true"></i></button>-->

<!--                                    <button data-toggle="tooltip" title="删除" class="pd-setting-ed"><i class="fa fa-trash-o" aria-hidden="true"></i></button>-->
<!--                                </td>-->
<!--                            </tr>-->



                        </table>

                        <div class="custom-pagination">
                            <ul class="pagination">
                                <li class="page-item" th:if="${pageNum} neq 1"><a class="page-link" th:href="@{/toCheckWorkers(AId=${AId},pageNum=(${pageNum}-1))}">前一页</a></li>
                                <li class="page-item" th:each="num : ${#numbers.sequence(1,totalNum)}"><a class="page-link" th:href="@{/toCheckWorkers(AId=${AId},pageNum=${num})}" th:text="${num}">1</a></li>
                                <li class="page-item" th:if="${pageNum} neq ${totalNum}"><a class="page-link" th:href="@{/toCheckWorkers(AId=${AId},pageNum=(${pageNum}+1))}">后一页</a></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="footer-copyright-area">
        <div class="container-fluid">
            <div class="row">
                <div class="col-lg-12">
                    <div class="footer-copy-right">
                        <p>到底了！</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<div id="exampleModalLive1" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLiveLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title" id="exampleModalLiveLabel">新维修员信息录入</h4>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <div class="register-form">
                    <form action="#" id="EmployeeForm" onsubmit="return false">
                        <div class="fields-grid">
                            <div class="styled-input">
                                <input type="text" placeholder="维修员ID" name="EId" required="">
                            </div>
                            <div class="styled-input">
                                <input type="email" placeholder="初始密码" name="EPwd" required="">
                            </div>
                            <div class="styled-input">
                                <input type="text" placeholder="维修员姓名" name="EName" required="">
                            </div>
                            <div class="styled-input">
                                <input type="text" placeholder="维修员邮箱" name="EEmail" required="">
                            </div>
                            <div class="styled-input">
                                <input type="text" placeholder="维修员电话" name="EPhone" required="">
                            </div>
                            <div class="styled-input agile-styled-input-top">
                                <input type="text" placeholder="设备类型(请勾选)" name="设备类型" disabled="disabled">
                            </div>

                            <div class="styled-input">
<!--                                <input type="hidden" name="elevator" value="false">-->
<!--                                <input type="hidden" name="computer" value="false">-->
<!--                                <input type="hidden" name="printer" value="false">-->
<!--                                <input type="hidden" name="airController" value="false">-->
<!--                                <input type="hidden" name="light" value="false">-->
                                <input  type="checkbox" name="elevator" id="elevator" value="true"/> <h5 style="display: inline-block">电梯</h5>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
                                <input  type="checkbox" name="computer" id="computer" value="true"/> <h5 style="display: inline-block">电脑</h5>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
                                <input type="checkbox" name="printer" id="printer" value="true"/><h5 style="display: inline-block"> 打印机</h5>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
                                <input type="checkbox" name="airController" id="airController" value="true"/> <h5 style="display: inline-block"> 空调</h5>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
                                <input type="checkbox" name="light" id="light" value="true"/> <h5 style="display: inline-block">电灯</h5>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
                            </div>
                            <div class="modal-footer">
                                <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
                                <button type="button" class="btn btn-primary" onclick="newEmployee()">生成</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>

        </div>
    </div>
</div>
<div id="exampleModalLiveLogout" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLiveLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title" >确认要退出吗</h4>

                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>

            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
                <a href="/signOut"><button type="button" class="btn btn-primary" >退出</button></a>
            </div>
        </div>
    </div>
</div>
<div id="exampleModalLive2" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLiveLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title" >维修工查询</h4>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <div class="register-form">
                    <div class="fields-grid">
                        <div class="styled-input">
                            <input type="text" placeholder="维修工ID:"  id="EIdS" readonly="readonly" required="">
                        </div>
                        <div class="styled-input">
                            <input type="text" placeholder="维修工姓名:" id="ENameS" readonly="readonly" required="">
                        </div>
                        <div class="styled-input">
                            <input type="text" placeholder="维修工评价:" id="ECreditS" readonly="readonly" required="">
                        </div>
                        <div class="styled-input">
                            <input type="text" placeholder="电子邮箱:" id="EEmailS" readonly="readonly" required="">
                        </div>
                        <div class="styled-input">
                            <input type="text" placeholder="联系方式:" id="EPhoneS" readonly="readonly" required="">
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- jquery
    ============================================ -->
<script src="/admin/js/vendor/jquery-1.12.4.min.js"></script>
<!-- bootstrap JS
    ============================================ -->
<script src="/admin/js/bootstrap.min.js"></script>
<!-- wow JS
    ============================================ -->
<script src="/admin/js/wow.min.js"></script>
<!-- price-slider JS
    ============================================ -->
<script src="/admin/js/jquery-price-slider.js"></script>
<!-- meanmenu JS
    ============================================ -->
<script src="/admin/js/jquery.meanmenu.js"></script>
<!-- owl.carousel JS
    ============================================ -->
<script src="/admin/js/owl.carousel.min.js"></script>
<!-- sticky JS
    ============================================ -->
<script src="/admin/js/jquery.sticky.js"></script>
<!-- scrollUp JS
    ============================================ -->
<script src="/admin/js/jquery.scrollUp.min.js"></script>
<!-- mCustomScrollbar JS
    ============================================ -->
<script src="/dmin/js/scrollbar/jquery.mCustomScrollbar.concat.min.js"></script>
<script src="/admin/js/scrollbar/mCustomScrollbar-active.js"></script>
<!-- metisMenu JS
    ============================================ -->
<script src="/admin/js/metisMenu/metisMenu.min.js"></script>
<script src="/admin/js/metisMenu/metisMenu-active.js"></script>
<!-- morrisjs JS
    ============================================ -->
<script src="/admin/js/sparkline/jquery.sparkline.min.js"></script>
<script src="/admin/js/sparkline/jquery.charts-sparkline.js"></script>
<!-- calendar JS
    ============================================ -->
<script src="/admin/js/calendar/moment.min.js"></script>
<script src="/admin/js/calendar/fullcalendar.min.js"></script>
<script src="/admin/js/calendar/fullcalendar-active.js"></script>
<!-- plugins JS
    ============================================ -->
<script src="/admin/js/plugins.js"></script>
<!-- main JS
    ============================================ -->
<script src="/admin/js/main.js"></script>

<!--js working-->
<script src='/client/js/jquery-2.2.3.min.js'></script>
<!--//js working-->
<!-- carousal service slider-->
<script src="/client/js/slick.js"></script>
<script>
    $(document).on('ready', function() {
        $(".center").slick({
            dots: true,
            infinite: true,
            centerMode: true,
            slidesToShow: 2,
            slidesToScroll: 2,
            responsive: [
                {
                    breakpoint: 768,
                    settings: {
                        arrows: true,
                        centerMode: false,
                        slidesToShow: 2
                    }
                },
                {
                    breakpoint: 480,
                    settings: {
                        arrows: true,
                        centerMode: false,
                        centerPadding: '40px',
                        slidesToShow: 1
                    }
                }
            ]
        });
    });
</script>
<!-- //carousal -->
<!--responsiveslides banner-->
<script src="client/js/responsiveslides.min.js"></script>
<script>
    // You can also use "$(window).load(function() {"
    $(function () {
        // Slideshow 4
        $("#slider4").responsiveSlides({
            auto: true,
            pager:true,
            nav: false,
            speed: 900,
            namespace: "callbacks",
            before: function () {
                $('.events').append("<li>before event fired.</li>");
            },
            after: function () {
                $('.events').append("<li>after event fired.</li>");
            }
        });

    });
</script>
<!--// responsiveslides banner-->
<!--About OnScroll-Number-Increase-JavaScript -->
<script src="client/js/jquery.waypoints.min.js"></script>
<script src="client/js/jquery.countup.js"></script>
<script>
    $('.counter').countUp();
</script>
<!-- //OnScroll-Number-Increase-JavaScript -->
<!-- clients FlexSlider-JavaScript -->
<script defer src="client/js/jquery.flexslider.js"></script>
<script>
    $(window).load(function(){
        $('.flexslider').flexslider({
            animation: "slide",
            start: function(slider){
                $('body').removeClass('loading');
            }
        });
    });
</script>
<!-- //clients FlexSlider-JavaScript -->
<!-- gallery-lightbox -->
<script src="client/js/lsb.min.js"></script>
<script>
    $(window).load(function() {
        $.fn.lightspeedBox();
    });
</script>
<!-- //gallery-lightbox -->
<!-- start-smoth-scrolling -->
<script src="client/js/move-top.js"></script>
<script src="client/js/easing.js"></script>
<script>
    jQuery(document).ready(function ($) {
        $(".scroll").click(function (event) {
            event.preventDefault();
            $('html,body').animate({
                scrollTop: $(this.hash).offset().top
            }, 900);
        });
    });
</script>
<!-- start-smoth-scrolling -->
<!-- here stars scrolling icon -->
<script>
    $(document).ready(function () {

        var defaults = {
            containerID: 'toTop', // fading element id
            containerHoverID: 'toTopHover', // fading element hover id
            scrollSpeed: 1200,
            easingType: 'linear'
        };


        $().UItoTop({
            easingType: 'easeOutQuart'
        });

    });
</script>
<!-- //here ends scrolling icon -->
<!--bootstrap working-->
<script src="client/js/bootstrap.min.js"></script>
<!-- //bootstrap working-->
<!-- ajax -->
<script type="text/javascript" src="assets/js/md5.js"></script>
<script>
    function newEmployee() {
        var paramData = $("#EmployeeForm", window.parent.document).serializeArray();
        // 使用ES5功能替换字段(进行加密)
        paramData.forEach(function (item) {
            if (item.name === 'EPwd') {
                if(null != item.value){
                    item.value = $.md5(item.value);
                }
            }
        });
        // 将数组转化为字符串序列
        var param =  $.param(paramData);
        $.ajax({
            type: "POST",async: false,
            url: "/newEmployee",
            data:param,
            success: function (result) {
                if(result==="success"){
                    alert("提交成功");
                    window.location.reload();
                }
                else alert("请求参数不能为空");

            },
            error : function() {
                alert("出现异常！提交失败");
            }
        });
    }
</script>

<script>
    function searchAEmployee(obj) {
        $.ajax({
            type:"GET",async: false,
            url:"/getAEmployee",
            data:"EId="+$(obj).val(),
            success:function (result) {
                if(result==="NotFound"){
                    alert("未查询到该ID");
                    $(".btn-secondary").click();
                }
                else{
                    var employee = JSON.parse(result);
                    console.log(employee);
                    $("#EIdS").attr("value","维修工ID:"+employee.eId);
                    $("#ENameS").attr("value","维修工姓名:"+employee.eName);
                    $("#ECreditS").attr("value","维修工评价:"+employee.eCredit);
                    $("#EPhoneS").attr("value","联系方式:"+employee.ePhone);
                    $("#EEmailS").attr("value","电子邮箱:"+employee.eEmail);
                    alert("查询完成");
                }

            },
            error:function () {
                alert("提交异常")
            }
        });
    }
</script>

</body>

</html>